/*------------------------------------------------------------------------------

  Copyright (c) 2012-2014 viorica patraucean (vpatrauc@gmail.com)
  
  This program is free software: you can redistribute it and/or modify
  it under the terms of the GNU Affero General Public License as
  published by the Free Software Foundation, either version 3 of the
  License, or (at your option) any later version.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  GNU Affero General Public License for more details.

  You should have received a copy of the GNU Affero General Public License
  along with this program. If not, see <http://www.gnu.org/licenses/>.


  ellipse_fit.h - This file belongs to ELSDc project (Ellipse and Line Segment 
                  Detector with continuous validation)
                - It contains 

------------------------------------------------------------------------------*/


#ifndef ELLIPSE_FIT_H
#define ELLIPSE_FIT_H

#include "image.h"


void conic_fit( PImageDouble gradx, PImageDouble grady, Point *reg, 
                int reg_size, double **buff, int *size_buff_max, 
                double *cparam, double *eparam );

#endif
